<template>
	<view>

	</view>
</template>

<script >s 
	methods: {
		fetchMovieDetail() {
			const movieId = this.$route.query.movieId; // 从路由获取电影 ID
			fetch(`https://m.maoyan.com/ajax/detailmovie?movieId=${movieId}`)
				.then(response => response.json())
				.then(data => {
					this.movieDetail = data.detailMovie;
				})
				.catch(error => console.error('Error fetching movie details:', error));
		}
	}
</script>

<style>

</style>